import {
	listcontractstatusoptions,
} from '@/api/contract'
const store = {
	state: {
		contractstatusoptions: {},
	},
	getters: {
		getContractStatusOptions(state) {
			return state.contractstatusoptions
		},
	},
	mutations: {
		UPDATE_CONTRACTSTATUS_OPTIONS(state, data) {
			state.contractstatusoptions = data
		}
	},
	actions: {
	
		setContractStatusOptions({
					commit
				}) {
		// 			listequimentType()
		// 				.then((response => {
		// 					console.log("response: " + response);
		// 					commit('UPDATE_EQUIPMENTTYPE_OPTIONS', response)
		// 				}))
					let data = listcontractstatusoptions()
					commit('UPDATE_CONTRACTSTATUS_OPTIONS', data)
				}
			
	}
}

export default store
